export default {
  data() {
     return {
          share:{
             title: '',
             imageUrl:'',
          }
     }
  },
  onShareAppMessage(res) { //发送给朋友
    let channel = this.$storage.getStorage('channel')
    let obj = {
      title: '今日运势',
      path: '/pages/home/index',
      // imageUrl: this.share.imageUrl,
    }
    obj.path = '/pages/home/index?type=' + channel
    return obj
  },
  onShareTimeline(res) {//分享到朋友圈
    let channel = this.$storage.getStorage('channel')
    let obj = {
      title: '今日运势',
      path: '/pages/home/index',
      // imageUrl: this.share.imageUrl,
    }
    obj.path = '/pages/home/index?type=' + channel
    return obj
  },

}
